package com.budwk.app.sqfwV2.service;

import com.budwk.app.sqfwDoc.dto.TemplateCodeUpdateDTO;
import com.budwk.app.sqfwV2.dto.dto.SqfwShopBaseInfoDTO;
import com.budwk.app.sqfwV2.dto.dto.dayingRoad.DownExcelLedgerReqVo;
import com.budwk.app.sqfwV2.dto.dto.dayingRoad.DownFileTypesResVo;
import com.budwk.app.sqfwV2.dto.dto.dayingRoad.FormSummaryNewQueryReqVo;
import com.budwk.starter.common.page.Pagination;
import com.budwk.starter.common.result.Result;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DayingRoadService {

    Result<?> downExcelLedger(DownExcelLedgerReqVo reqVo);

    void submitData(TemplateCodeUpdateDTO dto);

    Result<?> listByConditionKey(String placeName, String content, String type);

    Result<List<DownFileTypesResVo>> listDownFileTypes(String sqfwId);

    Result<?> listAdminByPage(FormSummaryNewQueryReqVo reqVo);

    Result<?> reGeneratePDF(String sqfwFlowId);

    void changeCloseDown(String id);

    /**
     * 下载pdf模板
     * @return
     */
    void downPdfTemplate(HttpServletResponse response);

    void downWordTemplate(HttpServletResponse response);

    Result<?> listShopByPage(SqfwShopBaseInfoDTO baseInfo);

    Result<?> downPdfFile(DownExcelLedgerReqVo reqVo);

    Result<Pagination> listCurrentUserShop(SqfwShopBaseInfoDTO baseInfo);
}
